from tqdm import tqdm
import time

with tqdm(total=100, desc='这是进度条的前缀', postfix='这是进度条的后缀', mininterval=0.3) as pbar:
    for i in range(100):
        time.sleep(0.1)  # 休眠0.1s
        pbar.update(1)
